package cn.dengta.webapp.trade.entity;

import cn.dengta.webapp.base.entity.TimeBasedEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 用户多维度汇总统计表
 *
 * @author Ready
 * @since 2022-09-19
 */
@Setter
@Getter
@Accessors(chain = true)
public class UserStat extends TimeBasedEntity {

	private static final long serialVersionUID = 1L;

	/** 性别：1=男；0=女 */
	private Integer gender;
	/** 累计充值总额度（以 分 为单位额度） */
	private Integer rechargeSum;
	/** 累计充值次数 */
	private Integer rechargeTimes;
	/** 速配次数 */
	//	private Integer speedDatingTimes;
	/** 搭讪次数 */
	private Integer greetTimes;
	/** 礼物消费总额 */
	private Integer giftCostSum;
	/** 视频消费总额 */
	private Integer videoCostSum;
	/** 语音消费总额 */
	private Integer audioCostSum;
	/** 文字消费总额 */
	private Integer msgCostSum;
	/** 金币账户余额 */
	private Integer activeCoin;
	/** 回复率（%） */
	private Integer replyRate;
	/** 累计收益总额度（以0.01积分为1单位额度） */
	private Long incomeSum;
	/** 文本消息收益总额度（以0.01积分为1单位额度） */
	private Long msgIncomeSum;
	/** 视频收益总额度（以0.01积分为1单位额度） */
	private Long videoIncomeSum;
	/** 语音收益总额度（以0.01积分为1单位额度） */
	private Long audioIncomeSum;
	/** 礼物收益总额度（以0.01积分为1单位额度） */
	private Long giftIncomeSum;
	/** 视频总时长（单位：s） */
	private Long videoTimeSum;
	/** 语音总时长（单位：s） */
	private Long audioTimeSum;
	/** 视频次数（以接通过的为准） */
	private Integer videoTimes;
	/** 语音次数（以接通过的为准） */
	private Integer audioTimes;
	/** 被回复率（%） */
	private Integer repliedRate;
	/** 所属推广员ID */
	private Long inviteUserId;
	/** 近三日被搭讪次数 */
	private Integer repliedGreetNum;
	/** 近三日搭讪次数 */
	private Integer greetNum;
	/** 注册国家 */
	private String regCountry;
	/** 总的登录天数 */
	private Integer loginDayCount;
	/** 总的登录次数（APP启动时会主动上报一次） */
	private Integer loginTimes;

	public static final String GENDER = "gender";
	public static final String RECHARGE_SUM = "recharge_sum";
	//	public static final String SPEED_DATING_TIMES = "speed_dating_times";
	public static final String GREET_TIMES = "greet_times";
	public static final String GIFT_COST_SUM = "gift_cost_sum";
	public static final String VIDEO_COST_SUM = "video_cost_sum";

	public static final String AUDIO_COST_SUM = "audio_cost_sum";

	public static final String MSG_COST_SUM = "msg_cost_sum";
	public static final String ACTIVE_COIN = "active_coin";
	public static final String REPLY_RATE = "reply_rate";
	public static final String INCOME_SUM = "income_sum";
	public static final String MSG_INCOME_SUM = "msg_income_sum";
	public static final String VIDEO_INCOME_SUM = "video_income_sum";
	public static final String AUDIO_INCOME_SUM = "audio_income_sum";
	public static final String GIFT_INCOME_SUM = "gift_income_sum";

	public static final String VIDEO_TIME_SUM = "video_time_sum";

	public static final String AUDIO_TIME_SUM = "audio_time_sum";
	public static final String VIDEO_TIMES = "video_times";

	public static final String AUDIO_TIMES = "audio_times";
	public static final String REPLIED_RATE = "replied_rate";
	public static final String INVITE_USER_ID = "invite_user_id";
	public static final String REPLIED_GREET_NUM = "replied_greet_num";
	public static final String GREET_NUM = "greet_num";
	public static final String REG_COUNTRY = "reg_country";
	public static final String LOGIN_DAY_COUNT = "login_day_count";
	public static final String LOGIN_TIMES = "login_times";

	public static final String ID = "id";

}
